<div class="span2">
    <div class="well sidebar-nav">
        <ul class="nav nav-list">
            <li class="nav-header">Profile</li>
            <li class="<?php if($this->uri->segment(2)=='profil'){echo 'active';}?>"><?php echo anchor('dosen/profil', 'Edit Profil') ?></li>
            <li class="<?php if($this->uri->segment(2)=='password'){echo 'active';}?>"><?php echo anchor('dosen/password', 'Ganti Password') ?></li>
            <li class="nav-header">Materi</li>
            <li class="<?php if($this->uri->segment(2)=='upload'){echo 'active';}?>"><?php echo anchor('dosen/upload', 'Upload') ?></li>
            <li class="<?php if($this->uri->segment(2)=='materi'){echo 'active';}?>"><?php echo anchor('dosen/materi', 'Daftar') ?></li>
        </ul>
    </div><!--/.well -->
</div><!--/span-->